@nebutra/ui 2.0.0 → 3.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (43) hide show
  1. package/dist/{canonical-Bf4czR2u.d.ts → canonical-DEhT4VfS.d.ts} +71 -120
  2. package/dist/card-DunB1gKE.d.ts +105 -0
  3. package/dist/components/index.d.ts +33 -4
  4. package/dist/components/index.js +225 -89
  5. package/dist/components/index.js.map +1 -1
  6. package/dist/editorial/index.d.ts +2 -2
  7. package/dist/editorial/index.js +75 -1
  8. package/dist/editorial/index.js.map +1 -1
  9. package/dist/empty-state-bmfHCOuN.d.ts +86 -0
  10. package/dist/hooks/index.d.ts +18 -1
  11. package/dist/hooks/index.js +120 -5
  12. package/dist/hooks/index.js.map +1 -1
  13. package/dist/index.d.ts +1 -1
  14. package/dist/layout/index.d.ts +17 -58
  15. package/dist/layout/index.js +366 -126
  16. package/dist/layout/index.js.map +1 -1
  17. package/dist/layouts/index.d.ts +1 -1
  18. package/dist/layouts/index.js +89 -15
  19. package/dist/layouts/index.js.map +1 -1
  20. package/dist/patterns/index.d.ts +38 -44
  21. package/dist/patterns/index.js +470 -278
  22. package/dist/patterns/index.js.map +1 -1
  23. package/dist/primitives/canonical.d.ts +3 -1
  24. package/dist/primitives/canonical.js +495 -231
  25. package/dist/primitives/canonical.js.map +1 -1
  26. package/dist/primitives/index.d.ts +90 -62
  27. package/dist/primitives/index.js +1129 -1185
  28. package/dist/primitives/index.js.map +1 -1
  29. package/dist/tailwind.preset.d.ts +32 -32
  30. package/dist/tailwind.preset.js +24 -20
  31. package/dist/tailwind.preset.js.map +1 -1
  32. package/dist/theme/index.d.ts +1 -110
  33. package/dist/typography/fonts.css +8 -16
  34. package/dist/typography/index.d.ts +29 -45
  35. package/dist/typography/index.js +26 -14
  36. package/dist/typography/index.js.map +1 -1
  37. package/dist/utils/index.d.ts +18 -12
  38. package/dist/utils/index.js +94 -18
  39. package/dist/utils/index.js.map +1 -1
  40. package/package.json +6 -10
  41. package/src/typography/fonts.css +8 -16
  42. package/dist/styles/brand-override.css +0 -61
  43. package/src/styles/brand-override.css +0 -61
@@ -8,11 +8,13 @@ import * as _base_ui_react from '@base-ui/react';
8
8
  import { AlertDialog as AlertDialog$1 } from '@base-ui/react/alert-dialog';
9
9
  import './animate-in-BlvjVh2S.js';
10
10
  import { Avatar as Avatar$1 } from '@base-ui/react/avatar';
11
+ import './card-DunB1gKE.js';
11
12
  import { Command as Command$1 } from 'cmdk';
12
13
  import { Dialog as Dialog$1 } from '@base-ui/react/dialog';
13
14
  import { ContextMenu as ContextMenu$1 } from '@base-ui/react/context-menu';
14
15
  import { Menu as Menu$1 } from '@base-ui/react/menu';
15
16
  import { Drawer as Drawer$1 } from 'vaul';
17
+ import './empty-state-bmfHCOuN.js';
16
18
  import * as react_hook_form from 'react-hook-form';
17
19
  import { FieldValues, FieldPath, ControllerProps } from 'react-hook-form';
18
20
  import { Popover as Popover$1 } from '@base-ui/react/popover';
@@ -63,10 +65,10 @@ declare const AccordionContent: {
63
65
  };
64
66
 
65
67
  declare const alertVariants: (props?: ({
66
- variant?: "info" | "secondary" | "primary" | "destructive" | "success" | "mono" | "warning" | null | undefined;
68
+ variant?: "mono" | "info" | "secondary" | "primary" | "destructive" | "success" | "warning" | null | undefined;
67
69
  icon?: "info" | "primary" | "destructive" | "success" | "warning" | null | undefined;
68
70
  appearance?: "solid" | "outline" | "light" | "stroke" | null | undefined;
69
- size?: "sm" | "md" | "lg" | null | undefined;
71
+ size?: "lg" | "md" | "sm" | null | undefined;
70
72
  } & class_variance_authority_types.ClassProp) | undefined) => string;
71
73
  /**
72
74
  * Alert variant types
@@ -109,6 +111,8 @@ interface AlertProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<
109
111
  * Callback when close button is clicked
110
112
  */
111
113
  onClose?: () => void;
114
+ /** Accessible name for the close button. Pass a translated string. */
115
+ closeLabel?: string;
112
116
  }
113
117
  interface AlertIconProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof alertVariants> {
114
118
  }
@@ -154,7 +158,7 @@ type AlertToolbarProps = React.HTMLAttributes<HTMLDivElement>;
154
158
  * <Alert size="lg" variant="primary">...</Alert>
155
159
  * ```
156
160
  */
157
- declare function Alert({ className, variant, size, icon, appearance, close, onClose, children, ...props }: AlertProps): react_jsx_runtime.JSX.Element;
161
+ declare function Alert({ className, variant, size, icon, appearance, close, onClose, closeLabel, children, ...props }: AlertProps): react_jsx_runtime.JSX.Element;
158
162
  /**
159
163
  * AlertTitle - Alert heading/title
160
164
  */
@@ -237,7 +241,7 @@ declare const AlertDialogCancel: {
237
241
 
238
242
  declare const badgeVariants: (props?: ({
239
243
  variant?: "blue" | "gray" | "green" | "pink" | "purple" | "red" | "teal" | "outline" | "default" | "error" | "info" | "secondary" | "destructive" | "success" | "warning" | "pill" | "gray-subtle" | "blue-subtle" | "purple-subtle" | "amber" | "amber-subtle" | "red-subtle" | "pink-subtle" | "green-subtle" | "teal-subtle" | "inverted" | "trial" | "turbo" | "beta" | "new" | "owner" | "featured" | "coming-soon" | null | undefined;
240
- size?: "sm" | "md" | "lg" | null | undefined;
244
+ size?: "lg" | "md" | "sm" | null | undefined;
241
245
  } & class_variance_authority_types.ClassProp) | undefined) => string;
242
246
  interface BadgeProps extends React.HTMLAttributes<HTMLElement>, VariantProps<typeof badgeVariants> {
243
247
  /** @deprecated Prefer Status Dot for dot-only indicators. Keep text labels redundant with color. */
@@ -466,7 +470,7 @@ type BreadcrumbEllipsisProps = React.ComponentPropsWithoutRef<"span">;
466
470
  * ```
467
471
  */
468
472
  declare const Breadcrumb: {
469
- ({ ref, ...props }: BreadcrumbProps & {
473
+ ({ ref, "aria-label": ariaLabel, ...props }: BreadcrumbProps & {
470
474
  ref?: React.Ref<HTMLElement> | undefined;
471
475
  }): react_jsx_runtime.JSX.Element;
472
476
  displayName: string;
@@ -612,56 +616,16 @@ declare const ButtonLink: {
612
616
  displayName: string;
613
617
  };
614
618
 
615
- declare const Card: {
616
- ({ className, ref, ...props }: React.HTMLAttributes<HTMLDivElement> & {
617
- ref?: React.Ref<HTMLDivElement> | undefined;
618
- }): react_jsx_runtime.JSX.Element;
619
- displayName: string;
620
- };
621
- declare const CardHeader: {
622
- ({ className, ref, ...props }: React.HTMLAttributes<HTMLDivElement> & {
623
- ref?: React.Ref<HTMLDivElement> | undefined;
624
- }): react_jsx_runtime.JSX.Element;
625
- displayName: string;
626
- };
627
- declare const CardTitle: {
628
- ({ className, children, ref, ...props }: React.HTMLAttributes<HTMLHeadingElement> & {
629
- ref?: React.Ref<HTMLHeadingElement> | undefined;
630
- }): react_jsx_runtime.JSX.Element;
631
- displayName: string;
632
- };
633
- interface CardDescriptionProps extends React.HTMLAttributes<HTMLParagraphElement | HTMLDivElement> {
634
- as?: React.ElementType;
635
- }
636
- declare const CardDescription: {
637
- ({ className, as: Tag, ref, ...props }: CardDescriptionProps & {
638
- ref?: React.Ref<HTMLParagraphElement | HTMLDivElement> | undefined;
639
- }): React.ReactElement<any, string | React.JSXElementConstructor<any>>;
640
- displayName: string;
641
- };
642
- declare const CardContent: {
643
- ({ className, ref, ...props }: React.HTMLAttributes<HTMLDivElement> & {
644
- ref?: React.Ref<HTMLDivElement> | undefined;
645
- }): react_jsx_runtime.JSX.Element;
646
- displayName: string;
647
- };
648
- declare const CardFooter: {
649
- ({ className, ref, ...props }: React.HTMLAttributes<HTMLDivElement> & {
650
- ref?: React.Ref<HTMLDivElement> | undefined;
651
- }): react_jsx_runtime.JSX.Element;
652
- displayName: string;
653
- };
654
-
655
- interface CheckboxProps {
619
+ interface CheckboxProps extends Omit<React__default.InputHTMLAttributes<HTMLInputElement>, "type" | "checked" | "defaultChecked" | "onChange" | "children"> {
656
620
  checked?: boolean;
657
621
  defaultChecked?: boolean;
622
+ /** @deprecated Use `onCheckedChange` — `onChange` conventionally receives an event. */
658
623
  onChange?: (checked: boolean) => void;
624
+ onCheckedChange?: (checked: boolean) => void;
659
625
  disabled?: boolean;
660
626
  indeterminate?: boolean;
661
627
  children?: React__default.ReactNode;
662
628
  className?: string;
663
- id?: string;
664
- name?: string;
665
629
  }
666
630
  interface CheckboxGroupProps {
667
631
  /** Accessible group label */
@@ -671,7 +635,7 @@ interface CheckboxGroupProps {
671
635
  children: React__default.ReactNode;
672
636
  className?: string;
673
637
  }
674
- declare const Checkbox: ({ checked: controlledChecked, defaultChecked, onChange, disabled, indeterminate, children, className, id, name, }: CheckboxProps) => react_jsx_runtime.JSX.Element;
638
+ declare const Checkbox: ({ checked: controlledChecked, defaultChecked, onChange: legacyOnChange, onCheckedChange: onChange, disabled, indeterminate, children, className, ...inputProps }: CheckboxProps) => react_jsx_runtime.JSX.Element;
675
639
  declare function CheckboxGroup({ label, orientation, children, className, }: CheckboxGroupProps): react_jsx_runtime.JSX.Element;
676
640
  declare namespace CheckboxGroup {
677
641
  var displayName: string;
@@ -695,7 +659,7 @@ declare function resolveCodeBlockLanguageIcon(language?: string | null, options?
695
659
  icons?: CodeBlockLanguageIconMap | undefined;
696
660
  }): {
697
661
  color: undefined;
698
- icon: "symbol" | "svg" | "animate" | "animateMotion" | "animateTransform" | "defs" | "desc" | "foreignObject" | "g" | "metadata" | "mpath" | "switch" | "view" | React.ComponentClass<SVGProps<SVGSVGElement> & {
662
+ icon: "symbol" | "animate" | "svg" | "animateMotion" | "animateTransform" | "defs" | "desc" | "foreignObject" | "g" | "metadata" | "mpath" | "switch" | "view" | React.ComponentClass<SVGProps<SVGSVGElement> & {
699
663
  color?: string;
700
664
  size?: number | string;
701
665
  title?: string;
@@ -762,11 +726,17 @@ interface CodeBlockSwitcherOption {
762
726
  * The single-file form accepts this directly; the multi-file form keeps the
763
727
  * legacy uncontrolled `showLanguageSwitcher` + `languages` for back-compat.
764
728
  */
765
- interface CodeBlockSwitcher {
729
+ type CodeBlockSwitcher = {
766
730
  options: ReadonlyArray<CodeBlockSwitcherOption>;
767
731
  value: string;
732
+ } & ({
733
+ onValueChange: (next: string) => void;
734
+ onChange?: never;
735
+ } | {
736
+ /** @deprecated Use `onValueChange` — `onChange` conventionally receives an event. */
768
737
  onChange: (next: string) => void;
769
- }
738
+ onValueChange?: never;
739
+ });
770
740
  interface CommonCodeBlockProps {
771
741
  /** Additional CSS classes on the outer container. */
772
742
  className?: string;
@@ -788,6 +758,8 @@ interface CommonCodeBlockProps {
788
758
  hideHeader?: boolean;
789
759
  /** Accessible label for the code block. Pass via the standard `aria-label` attribute. */
790
760
  "aria-label"?: string;
761
+ /** Accessible name for the copy-code button. Pass a translated string. */
762
+ copyLabel?: string;
791
763
  }
792
764
  /** Multi-file (legacy) shape — tabs across `files[]`. */
793
765
  interface CodeBlockFilesProps extends CommonCodeBlockProps {
@@ -851,7 +823,7 @@ type CodeBlockProps = CodeBlockFilesProps | CodeBlockSingleProps;
851
823
  * switcher={{
852
824
  * options: [{ label: "JS", value: "js" }, { label: "TS", value: "ts" }],
853
825
  * value: lang,
854
- * onChange: setLang,
826
+ * onValueChange: setLang,
855
827
  * }}
856
828
  * >
857
829
  * {code}
@@ -1127,14 +1099,24 @@ interface ComboboxBaseProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "
1127
1099
  /** Accessible name when no visible label is rendered. */
1128
1100
  "aria-label"?: string;
1129
1101
  }
1130
- interface ControlledComboboxProps extends ComboboxBaseProps {
1131
- value: ComboboxValue;
1102
+ type ComboboxChange = {
1103
+ onValueChange: (value: ComboboxValue) => void;
1104
+ onChange?: never;
1105
+ } | {
1106
+ /** @deprecated Use `onValueChange` — `onChange` conventionally receives an event. */
1132
1107
  onChange: (value: ComboboxValue) => void;
1108
+ onValueChange?: never;
1109
+ };
1110
+ /** Controlled: a value and exactly one change callback. */
1111
+ type ControlledComboboxProps = ComboboxBaseProps & {
1112
+ value: ComboboxValue;
1133
1113
  defaultValue?: never;
1134
- }
1114
+ } & ComboboxChange;
1135
1115
  interface UncontrolledComboboxProps extends ComboboxBaseProps {
1136
1116
  value?: never;
1117
+ /** @deprecated Use `onValueChange` — `onChange` conventionally receives an event. */
1137
1118
  onChange?: (value: ComboboxValue) => void;
1119
+ onValueChange?: (value: ComboboxValue) => void;
1138
1120
  defaultValue?: ComboboxValue;
1139
1121
  }
1140
1122
  type ComboboxProps = ControlledComboboxProps | UncontrolledComboboxProps;
@@ -1197,7 +1179,7 @@ declare const ComboboxList: {
1197
1179
  }): react_jsx_runtime.JSX.Element;
1198
1180
  displayName: string;
1199
1181
  };
1200
- declare function ComboboxRoot({ options, value: controlledValue, onChange, defaultValue, disabled, errored, error, size, width, listMaxWidth, label, hideLabel, placeholder, emptyMessage, searchPlaceholder, loading, loadingMessage, children, className, style, "aria-label": ariaLabel, ...props }: ComboboxProps): react_jsx_runtime.JSX.Element;
1182
+ declare function ComboboxRoot({ options, value: controlledValue, onChange: legacyOnChange, onValueChange: onChange, defaultValue, disabled, errored, error, size, width, listMaxWidth, label, hideLabel, placeholder, emptyMessage, searchPlaceholder, loading, loadingMessage, children, className, style, "aria-label": ariaLabel, ...props }: ComboboxProps): react_jsx_runtime.JSX.Element;
1201
1183
  declare namespace ComboboxRoot {
1202
1184
  var displayName: string;
1203
1185
  }
@@ -1213,14 +1195,14 @@ declare namespace ComboboxRoot {
1213
1195
  * { value: "remix", label: "Remix" },
1214
1196
  * ]}
1215
1197
  * value={value}
1216
- * onChange={setValue}
1198
+ * onValueChange={setValue}
1217
1199
  * placeholder="Select framework..."
1218
1200
  * />
1219
1201
  * ```
1220
1202
  *
1221
1203
  * @example Composition mode (manual children)
1222
1204
  * ```tsx
1223
- * <Combobox value={value} onChange={setValue} placeholder="Search...">
1205
+ * <Combobox value={value} onValueChange={setValue} placeholder="Search...">
1224
1206
  * <Combobox.Input placeholder="Search frameworks..." />
1225
1207
  * <Combobox.List emptyMessage="Nothing here.">
1226
1208
  * <Combobox.Group heading="Frontend">
@@ -1801,55 +1783,6 @@ declare function DrawerFooter({ className, ...props }: DrawerFooterProps): react
1801
1783
  declare function DrawerTitle({ className, ...props }: DrawerTitleProps): react_jsx_runtime.JSX.Element;
1802
1784
  declare function DrawerDescription({ className, ...props }: DrawerDescriptionProps): react_jsx_runtime.JSX.Element;
1803
1785
 
1804
- type EmptyStateVariant = "blank-slate" | "informational" | "educational" | "guide" | "no-results" | "cleared" | "permission" | "error";
1805
- type EmptyStateSize = "sm" | "md" | "lg";
1806
- type EmptyStateAlign = "center" | "start";
1807
- interface EmptyStateRootProps extends Omit<React.HTMLAttributes<HTMLElement>, "title" | "children"> {
1808
- title: React.ReactNode;
1809
- description?: React.ReactNode;
1810
- icon?: React.ReactNode;
1811
- /** Preferred CTA slot. Use real Button/Link elements. */
1812
- children?: React.ReactNode;
1813
- /** Compatibility alias for the primary CTA. Prefer children for new code. */
1814
- action?: React.ReactNode;
1815
- /** Compatibility alias for the secondary CTA. Prefer children for new code. */
1816
- link?: React.ReactNode;
1817
- variant?: EmptyStateVariant;
1818
- size?: EmptyStateSize;
1819
- align?: EmptyStateAlign;
1820
- /** Use for empty states that appear after async filtering changes. */
1821
- live?: boolean;
1822
- }
1823
- interface EmptyStateIconProps extends React.HTMLAttributes<HTMLDivElement> {
1824
- icon: React.ReactNode;
1825
- }
1826
- declare const EmptyStateIcon: {
1827
- ({ className, icon, ref, ...props }: EmptyStateIconProps & {
1828
- ref?: React.Ref<HTMLDivElement> | undefined;
1829
- }): react_jsx_runtime.JSX.Element;
1830
- displayName: string;
1831
- };
1832
- declare const EmptyStateRoot: {
1833
- ({ className, title, description, icon, children, action, link, style, variant, size, align, live, ref, ...props }: EmptyStateRootProps & {
1834
- ref?: React.Ref<HTMLElement> | undefined;
1835
- }): react_jsx_runtime.JSX.Element;
1836
- displayName: string;
1837
- };
1838
- declare const EmptyState: {
1839
- readonly Root: {
1840
- ({ className, title, description, icon, children, action, link, style, variant, size, align, live, ref, ...props }: EmptyStateRootProps & {
1841
- ref?: React.Ref<HTMLElement> | undefined;
1842
- }): react_jsx_runtime.JSX.Element;
1843
- displayName: string;
1844
- };
1845
- readonly Icon: {
1846
- ({ className, icon, ref, ...props }: EmptyStateIconProps & {
1847
- ref?: React.Ref<HTMLDivElement> | undefined;
1848
- }): react_jsx_runtime.JSX.Element;
1849
- displayName: string;
1850
- };
1851
- };
1852
-
1853
1786
  interface ErrorObject {
1854
1787
  /** Error description */
1855
1788
  message: string;
@@ -1979,10 +1912,18 @@ type TextareaOwnProps = {
1979
1912
  onValueChange?: (value: string) => void;
1980
1913
  /** Applied to the label/helper/error field wrapper. */
1981
1914
  fieldClassName?: string;
1915
+ /**
1916
+ * `bare` drops the field's own stroke, fill, lift and focus ring so it can
1917
+ * sit inside a container that provides them — a composer, a chat box, a
1918
+ * prompt well. Same contract as Input's `tone="bare"`: the container owns
1919
+ * focus (`focus-within:`), so the ring surrounds the whole group rather
1920
+ * than a box inside it.
1921
+ */
1922
+ tone?: "bordered" | "bare";
1982
1923
  };
1983
1924
  type TextareaProps = NativeTextareaProps & TextareaOwnProps & (LabelledTextareaProps | UnlabelledTextareaProps);
1984
1925
  declare const Textarea: {
1985
- ({ className, style, size, label, description, error, fieldClassName, id, onChange, onValueChange, "aria-describedby": ariaDescribedBy, "aria-invalid": ariaInvalid, ref, ...props }: TextareaProps & {
1926
+ ({ className, style, size, label, description, error, fieldClassName, tone, id, onChange, onValueChange, "aria-describedby": ariaDescribedBy, "aria-invalid": ariaInvalid, ref, ...props }: TextareaProps & {
1986
1927
  ref?: React.Ref<HTMLTextAreaElement> | undefined;
1987
1928
  }): react_jsx_runtime.JSX.Element;
1988
1929
  displayName: string;
@@ -2037,7 +1978,7 @@ interface LabelProps extends React.LabelHTMLAttributes<HTMLLabelElement>, Varian
2037
1978
  * @example Required field indicator
2038
1979
  * ```tsx
2039
1980
  * <Label htmlFor="name">
2040
- * Name <span className="text-destructive">*</span>
1981
+ * Name <span className="text-destructive-strong">*</span>
2041
1982
  * </Label>
2042
1983
  * ```
2043
1984
  */
@@ -2218,6 +2159,8 @@ type InputOwnProps = {
2218
2159
  revealLabel?: string;
2219
2160
  /** Accessible label for the password visibility control when the value is visible. */
2220
2161
  hideLabel?: string;
2162
+ /** Accessible label for the clear-input button. Pass a translated string. */
2163
+ clearLabel?: string;
2221
2164
  /** Clear the current value when Escape is pressed. Defaults to true for search inputs. */
2222
2165
  clearOnEscape?: boolean;
2223
2166
  /** Helper text associated with the input through aria-describedby. */
@@ -2243,7 +2186,9 @@ interface InputOTPProps {
2243
2186
  /** Current value */
2244
2187
  value?: string;
2245
2188
  /** Change handler */
2189
+ /** @deprecated Use `onValueChange` — `onChange` conventionally receives an event. */
2246
2190
  onChange?: (newValue: string) => void;
2191
+ onValueChange?: (newValue: string) => void;
2247
2192
  /** Complete handler */
2248
2193
  onComplete?: (value: string) => void;
2249
2194
  /** Render function for slots */
@@ -2262,7 +2207,7 @@ interface InputOTPProps {
2262
2207
  disabled?: boolean;
2263
2208
  }
2264
2209
  declare const InputOTP: {
2265
- ({ className, containerClassName, children, render, ref, ...props }: InputOTPProps & {
2210
+ ({ className, containerClassName, children, render, ref, onValueChange, onChange: legacyOnChange, ...rest }: InputOTPProps & {
2266
2211
  ref?: React.Ref<HTMLInputElement> | undefined;
2267
2212
  }): react_jsx_runtime.JSX.Element;
2268
2213
  displayName: string;
@@ -2712,7 +2657,7 @@ interface MultiSelectContentProps extends Omit<React.ComponentPropsWithoutRef<ty
2712
2657
  width?: MultiSelectWidth;
2713
2658
  }
2714
2659
  declare const MultiSelectContent: {
2715
- ({ children, className, style, align, side, sideOffset, alignOffset, width, onKeyDown, ref, ...props }: MultiSelectContentProps & {
2660
+ ({ children, className, style, align, side, sideOffset, alignOffset, width, onKeyDown, "aria-label": ariaLabel, ref, ...props }: MultiSelectContentProps & {
2716
2661
  ref?: React.Ref<HTMLDivElement> | undefined;
2717
2662
  }): react_jsx_runtime.JSX.Element;
2718
2663
  displayName: string;
@@ -3082,7 +3027,7 @@ declare function PopoverAnchor({ ...props }: React.ComponentProps<"span">): reac
3082
3027
 
3083
3028
  declare const progressVariants: (props?: ({
3084
3029
  variant?: "outline" | "default" | "secondary" | "primary" | "destructive" | "success" | "warning" | null | undefined;
3085
- size?: "default" | "sm" | "lg" | null | undefined;
3030
+ size?: "default" | "lg" | "sm" | null | undefined;
3086
3031
  } & class_variance_authority_types.ClassProp) | undefined) => string;
3087
3032
  declare const progressIndicatorVariants: (props?: ({
3088
3033
  variant?: "outline" | "default" | "secondary" | "primary" | "destructive" | "success" | "warning" | null | undefined;
@@ -3158,7 +3103,7 @@ type RadioGroupProps = RadioGroupBaseProps & {
3158
3103
  value?: RadioValue;
3159
3104
  /** Uncontrolled initial selected value. */
3160
3105
  defaultValue?: RadioValue;
3161
- /** Geist-compatible change callback. */
3106
+ /** @deprecated Use `onValueChange` — `onChange` conventionally receives an event. */
3162
3107
  onChange?: (value: RadioValue) => void;
3163
3108
  /** Base UI / Radix-compatible change callback. */
3164
3109
  onValueChange?: (value: RadioValue) => void;
@@ -3393,9 +3338,11 @@ interface SheetContentProps extends React.ComponentPropsWithoutRef<typeof Dialog
3393
3338
  showClose?: boolean;
3394
3339
  /** Alias for `showClose`, matching newer generated examples. */
3395
3340
  close?: boolean;
3341
+ /** Accessible name for the built-in close button. Pass a translated string. */
3342
+ closeLabel?: string;
3396
3343
  }
3397
3344
  declare const SheetContent: {
3398
- ({ side, className, children, overlay, noOverlay, showClose, close, style, ref, ...props }: SheetContentProps & {
3345
+ ({ side, className, children, overlay, noOverlay, showClose, close, closeLabel, style, ref, ...props }: SheetContentProps & {
3399
3346
  ref?: React.Ref<HTMLDivElement> | undefined;
3400
3347
  }): react_jsx_runtime.JSX.Element;
3401
3348
  displayName: string;
@@ -3867,7 +3814,9 @@ interface ThemeSwitcherProps extends Omit<React.FieldsetHTMLAttributes<HTMLField
3867
3814
  /** Initial fallback when rendered outside ThemeProvider. */
3868
3815
  defaultValue?: ThemeSwitcherValue;
3869
3816
  /** Compatibility callback for tests or migrations. ThemeProvider remains the source of truth. */
3817
+ /** @deprecated Use `onValueChange` — `onChange` conventionally receives an event. */
3870
3818
  onChange?: (theme: ThemeSwitcherValue) => void;
3819
+ onValueChange?: (theme: ThemeSwitcherValue) => void;
3871
3820
  /** Read-only preview state. Provider `forcedTheme` also disables the control. */
3872
3821
  disabled?: boolean;
3873
3822
  /** Compact size for dense chrome. */
@@ -3876,7 +3825,7 @@ interface ThemeSwitcherProps extends Omit<React.FieldsetHTMLAttributes<HTMLField
3876
3825
  name?: string;
3877
3826
  }
3878
3827
  declare const ThemeSwitcher: {
3879
- ({ value, defaultValue, onChange, disabled, size, name, className, style, ref, ...props }: ThemeSwitcherProps & {
3828
+ ({ value, defaultValue, onChange: legacyOnChange, onValueChange: onChange, disabled, size, name, className, style, ref, ...props }: ThemeSwitcherProps & {
3880
3829
  ref?: React.Ref<HTMLFieldSetElement> | undefined;
3881
3830
  }): react_jsx_runtime.JSX.Element;
3882
3831
  displayName: string;
@@ -3890,7 +3839,9 @@ interface ThemeToggleProps extends NativeButtonProps {
3890
3839
  /** Initial binary theme value for uncontrolled usage. Reads the document class on mount when omitted. */
3891
3840
  defaultValue?: ThemeToggleValue;
3892
3841
  /** Fired with the next binary theme value. Integrate with `@nebutra/tokens` or `next-themes`. */
3842
+ /** @deprecated Use `onValueChange` — `onChange` conventionally receives an event. */
3893
3843
  onChange?: (value: ThemeToggleValue) => void;
3844
+ onValueChange?: (value: ThemeToggleValue) => void;
3894
3845
  /** Compact icon-button size. */
3895
3846
  size?: ThemeToggleSize;
3896
3847
  /** Optional user-gesture sound. Disabled by default to avoid unexpected audio in SaaS surfaces. */
@@ -3901,13 +3852,13 @@ interface ThemeToggleProps extends NativeButtonProps {
3901
3852
  labels?: Partial<Record<ThemeToggleValue, string>>;
3902
3853
  }
3903
3854
  declare const ThemeToggle: {
3904
- ({ value, defaultValue, onChange, size, sound, applyToDocument, labels, className, style, disabled, type, onClick, ref, ...props }: ThemeToggleProps & {
3855
+ ({ value, defaultValue, onChange: legacyOnChange, onValueChange: onChange, size, sound, applyToDocument, labels, className, style, disabled, type, onClick, ref, ...props }: ThemeToggleProps & {
3905
3856
  ref?: React.Ref<HTMLButtonElement> | undefined;
3906
3857
  }): react_jsx_runtime.JSX.Element;
3907
3858
  displayName: string;
3908
3859
  };
3909
3860
  declare const AnimatedThemeToggler: {
3910
- ({ value, defaultValue, onChange, size, sound, applyToDocument, labels, className, style, disabled, type, onClick, ref, ...props }: ThemeToggleProps & {
3861
+ ({ value, defaultValue, onChange: legacyOnChange, onValueChange: onChange, size, sound, applyToDocument, labels, className, style, disabled, type, onClick, ref, ...props }: ThemeToggleProps & {
3911
3862
  ref?: React.Ref<HTMLButtonElement> | undefined;
3912
3863
  }): react_jsx_runtime.JSX.Element;
3913
3864
  displayName: string;
@@ -3970,7 +3921,7 @@ declare const toggleGroupVariants: (props?: ({
3970
3921
  } & class_variance_authority_types.ClassProp) | undefined) => string;
3971
3922
  declare const toggleGroupItemVariants: (props?: ({
3972
3923
  variant?: "outline" | "default" | "pill" | null | undefined;
3973
- size?: "default" | "sm" | "lg" | null | undefined;
3924
+ size?: "default" | "lg" | "sm" | null | undefined;
3974
3925
  } & class_variance_authority_types.ClassProp) | undefined) => string;
3975
3926
 
3976
3927
  type ToggleGroupType = "single" | "multiple";
@@ -4069,4 +4020,4 @@ declare const TreeIcon: ({ icon, hasChildren, className, ...props }: TreeIconPro
4069
4020
  type TreeLabelProps = HTMLAttributes<HTMLSpanElement>;
4070
4021
  declare const TreeLabel: ({ className, ...props }: TreeLabelProps) => react_jsx_runtime.JSX.Element;
4071
4022
 
4072
- export { AnimatedThemeToggler as $, type AvatarProps as A, type BadgeProps as B, type CommandItemProps as C, type AlertDescriptionProps as D, AlertDialog as E, AlertDialogAction as F, AlertDialogCancel as G, AlertDialogContent as H, type InputSize as I, AlertDialogDescription as J, AlertDialogFooter as K, AlertDialogHeader as L, AlertDialogOverlay as M, AlertDialogPortal as N, AlertDialogTitle as O, AlertDialogTrigger as P, AlertIcon as Q, type AlertIconProps as R, type SpacingScale as S, type TextareaProps as T, type AlertProps as U, type AlertSize as V, AlertTitle as W, type AlertTitleProps as X, AlertToolbar as Y, type AlertToolbarProps as Z, type AlertVariant as _, Button as a, type ComboboxOption as a$, type AnimatedThemeTogglerProps as a0, AspectRatio as a1, type AspectRatioProps as a2, Avatar as a3, AvatarFallback as a4, type AvatarFallbackProps as a5, AvatarGroup as a6, type AvatarGroupItem as a7, type AvatarGroupProps as a8, AvatarImage as a9, Checkbox as aA, CheckboxGroup as aB, type CheckboxGroupProps as aC, type CheckboxProps as aD, CodeBlock as aE, type CodeBlockFile as aF, type CodeBlockFilesProps as aG, CodeBlockLanguageIcon as aH, type CodeBlockLanguageIconComponent as aI, type CodeBlockLanguageIconElement as aJ, type CodeBlockLanguageIconMap as aK, type CodeBlockLanguageIconProps as aL, type CodeBlockLanguageIconValue as aM, type CodeBlockProps as aN, type CodeBlockSingleProps as aO, type CodeBlockSwitcher as aP, type CodeBlockSwitcherOption as aQ, Collapse as aR, CollapseGroup as aS, type CollapseGroupProps as aT, type CollapseProps as aU, type CollapseSize as aV, Combobox as aW, ComboboxEmpty as aX, ComboboxGroupSub as aY, ComboboxInput as aZ, ComboboxList as a_, type AvatarSize as aa, Badge as ab, Breadcrumb as ac, BreadcrumbEllipsis as ad, type BreadcrumbEllipsisProps as ae, BreadcrumbItem as af, type BreadcrumbItemProps as ag, BreadcrumbLink as ah, type BreadcrumbLinkProps as ai, BreadcrumbList as aj, type BreadcrumbListProps as ak, BreadcrumbPage as al, type BreadcrumbPageProps as am, type BreadcrumbProps as an, BreadcrumbSeparator as ao, type BreadcrumbSeparatorProps as ap, ButtonLink as aq, type ButtonLinkProps as ar, type ButtonProps as as, Card as at, CardContent as au, CardDescription as av, type CardDescriptionProps as aw, CardFooter as ax, CardHeader as ay, CardTitle as az, type CommandEmptyProps as b, DrawerFooter as b$, ComboboxOptionItem as b0, type ComboboxProps as b1, ComboboxRoot as b2, ComboboxSeparator as b3, CommandDialog as b4, type CommandDialogProps as b5, type CommandProps as b6, CommandShortcut as b7, ContextMenu as b8, ContextMenuCheckboxItem as b9, CopyMenuItem as bA, type CopyMenuItemProps as bB, CopyableField as bC, type CopyableFieldProps as bD, type DeploymentState as bE, Description as bF, type DescriptionProps as bG, Dialog as bH, DialogClose as bI, DialogContent as bJ, DialogDescription as bK, DialogFooter as bL, DialogHeader as bM, DialogOverlay as bN, DialogPortal as bO, DialogTitle as bP, DialogTrigger as bQ, Drawer as bR, DrawerBody as bS, type DrawerBodyProps as bT, DrawerClose as bU, type DrawerCloseProps as bV, DrawerContent as bW, type DrawerContentProps as bX, DrawerDescription as bY, type DrawerDescriptionProps as bZ, type DrawerDirection as b_, type ContextMenuCheckboxItemProps as ba, ContextMenuContent as bb, type ContextMenuContentProps as bc, ContextMenuGroup as bd, ContextMenuItem as be, type ContextMenuItemProps as bf, ContextMenuLabel as bg, type ContextMenuLabelProps as bh, ContextMenuRadioGroup as bi, type ContextMenuRadioGroupProps as bj, ContextMenuRadioItem as bk, type ContextMenuRadioItemProps as bl, ContextMenuRoot as bm, ContextMenuSeparator as bn, type ContextMenuSeparatorProps as bo, ContextMenuShortcut as bp, ContextMenuSub as bq, ContextMenuSubContent as br, ContextMenuSubTrigger as bs, type ContextMenuSubTriggerProps as bt, ContextMenuTrigger as bu, CopyButton as bv, type CopyButtonProps as bw, CopyCodeButton as bx, CopyIdButton as by, CopyLinkButton as bz, CommandEmpty as c, HoverCardTrigger as c$, type DrawerFooterProps as c0, DrawerHeader as c1, type DrawerHeaderProps as c2, type DrawerHeight as c3, DrawerOverlay as c4, type DrawerOverlayProps as c5, DrawerPortal as c6, type DrawerPortalProps as c7, type DrawerProps as c8, DrawerTitle as c9, type EmptyStateRootProps as cA, type EmptyStateSize as cB, type EmptyStateVariant as cC, ErrorSurface as cD, ErrorMessage as cE, type ErrorMessageProps as cF, type ErrorObject as cG, type ErrorProps as cH, type ErrorRecoveryAction as cI, type ErrorSize as cJ, Field as cK, type FieldProps as cL, Form as cM, FormControl as cN, FormDescription as cO, FormField as cP, FormItem as cQ, FormLabel as cR, FormMessage as cS, Gauge as cT, type GaugeArcPriority as cU, type GaugeColorMap as cV, type GaugeColorStop as cW, type GaugeProps as cX, type GaugeSize as cY, HoverCard as cZ, HoverCardContent as c_, type DrawerTitleProps as ca, DrawerTrigger as cb, type DrawerTriggerProps as cc, DropdownMenu as cd, DropdownMenuCheckboxItem as ce, DropdownMenuContent as cf, type DropdownMenuContentProps as cg, DropdownMenuEmpty as ch, DropdownMenuFilterInput as ci, DropdownMenuGroup as cj, DropdownMenuItem as ck, DropdownMenuLabel as cl, DropdownMenuPortal as cm, DropdownMenuRadioGroup as cn, DropdownMenuRadioItem as co, DropdownMenuSeparator as cp, DropdownMenuShortcut as cq, DropdownMenuSub as cr, DropdownMenuSubContent as cs, DropdownMenuSubTrigger as ct, DropdownMenuTrigger as cu, EmptyState as cv, type EmptyStateAlign as cw, EmptyStateIcon as cx, type EmptyStateIconProps as cy, EmptyStateRoot as cz, type CommandGroupProps as d, type MultiSelectRowProps as d$, Input as d0, InputOTP as d1, InputOTPGroup as d2, type InputOTPGroupProps as d3, type InputOTPProps as d4, InputOTPSeparator as d5, type InputOTPSeparatorProps as d6, InputOTPSlot as d7, type InputOTPSlotProps as d8, type InputProps as d9, MenubarGroup as dA, MenubarItem as dB, MenubarLabel as dC, MenubarMenu as dD, MenubarPortal as dE, MenubarRadioGroup as dF, MenubarRadioItem as dG, MenubarSeparator as dH, MenubarShortcut as dI, MenubarSub as dJ, MenubarSubContent as dK, MenubarSubTrigger as dL, MenubarTrigger as dM, Modal as dN, type ModalActionProps as dO, type ModalActionsProps as dP, type ModalBodyProps as dQ, type ModalHeaderProps as dR, type ModalInsetProps as dS, type ModalRootProps as dT, type ModalSubtitleProps as dU, type ModalTitleProps as dV, MultiSelectContent as dW, type MultiSelectContentProps as dX, MultiSelectRoot as dY, type MultiSelectRootProps as dZ, MultiSelectRow as d_, Kbd as da, type KbdProps as db, Label as dc, type LabelProps as dd, type LegacyGaugeArcPriority as de, LoadingDots as df, type LoadingDotsProps as dg, Menu as dh, MenuButton as di, type MenuButtonProps as dj, MenuContainer as dk, type MenuContainerProps as dl, MenuItem as dm, MenuItemLocked as dn, type MenuItemLockedProps as dp, type MenuItemProps as dq, MenuLink as dr, type MenuLinkProps as ds, type MenuPosition as dt, type MenuProps as du, MenuSection as dv, type MenuSectionProps as dw, Menubar as dx, MenubarCheckboxItem as dy, MenubarContent as dz, CommandGroup as e, SheetFooter as e$, MultiSelectTrigger as e0, type MultiSelectTriggerProps as e1, NavigationMenu as e2, NavigationMenuContent as e3, NavigationMenuIndicator as e4, NavigationMenuItem as e5, NavigationMenuLink as e6, NavigationMenuList as e7, NavigationMenuTrigger as e8, NavigationMenuViewport as e9, ResizablePanelGroup as eA, Scroller as eB, type ScrollerButtonAxis as eC, type ScrollerEdgeAffordance as eD, type ScrollerOverflow as eE, type ScrollerProps as eF, type ScrollerSize as eG, Select as eH, SelectContent as eI, SelectGroup as eJ, SelectItem as eK, SelectLabel as eL, SelectScrollDownButton as eM, SelectScrollUpButton as eN, SelectSeparator as eO, SelectTrigger as eP, SelectValue as eQ, Separator as eR, Sheet as eS, SheetBody as eT, type SheetBodyProps as eU, SheetClose as eV, type SheetCloseProps as eW, SheetContent as eX, type SheetContentProps as eY, SheetDescription as eZ, type SheetDescriptionProps as e_, Note as ea, type NoteBaseProps as eb, type NoteProps as ec, type NoteSize as ed, type NoteTone as ee, Pagination as ef, type PaginationDestination as eg, type PaginationProps as eh, Popover as ei, PopoverAnchor as ej, PopoverContent as ek, type PopoverContentProps as el, PopoverPositioner as em, PopoverTrigger as en, Progress as eo, type ProgressColorMap as ep, type ProgressProps as eq, type ProgressStop as er, ProjectBanner as es, type ProjectBannerCallToAction as et, type ProjectBannerProps as eu, type ProjectBannerVariant as ev, RadioGroup as ew, RadioGroupItem as ex, ResizableHandle as ey, ResizablePanel as ez, type CommandInputProps as f, TabsTrigger as f$, type SheetFooterProps as f0, SheetHeader as f1, type SheetHeaderProps as f2, SheetOverlay as f3, type SheetOverlayProps as f4, SheetPortal as f5, type SheetPortalProps as f6, type SheetProps as f7, SheetTitle as f8, type SheetTitleProps as f9, type StatusDotProps as fA, Switch as fB, type SwitchProps as fC, Table as fD, TableBody as fE, type TableBodyProps as fF, TableCaption as fG, TableCell as fH, type TableCellAlignment as fI, type TableCellProps as fJ, TableCol as fK, TableColgroup as fL, type TableCssVar as fM, type TableCssVarOverrides as fN, TableFooter as fO, TableHead as fP, type TableHeadProps as fQ, TableHeader as fR, type TableProps as fS, TableRow as fT, type TableStyle as fU, Tabs as fV, TabsContent as fW, type TabsContentProps as fX, TabsList as fY, type TabsListProps as fZ, type TabsProps as f_, SheetTrigger as fa, type SheetTriggerProps as fb, ShowMore as fc, type ShowMoreProps as fd, Skeleton as fe, SkeletonAvatar as ff, SkeletonCard as fg, type SkeletonProps as fh, SkeletonText as fi, Slider as fj, type SliderProps as fk, Spinner as fl, type SpinnerProps as fm, type SpinnerVariant as fn, SplitButton as fo, type SplitButtonMenuAlignment as fp, type SplitButtonMenuContentProps as fq, SplitButtonMenuItem as fr, type SplitButtonMenuItemProps as fs, type SplitButtonPrimaryProps as ft, type SplitButtonProps as fu, type SplitButtonSize as fv, type SplitButtonType as fw, Stack as fx, type StackProps as fy, StatusDot as fz, CommandInput as g, useFormField as g$, type TabsTriggerProps as g0, Textarea as g1, ThemeSwitcher as g2, type ThemeSwitcherProps as g3, type ThemeSwitcherValue as g4, ThemeToggle as g5, type ThemeToggleProps as g6, type ThemeToggleValue as g7, type ToastMessage as g8, type ToastOptions as g9, TreeNodeTrigger as gA, type TreeNodeTriggerProps as gB, TreeProvider as gC, type TreeProviderProps as gD, TreeView as gE, type TreeViewProps as gF, type UseCopyToClipboardOptions as gG, type UseCopyToClipboardReturn as gH, type UseToastsReturn as gI, alertVariants as gJ, badgeVariants as gK, buttonVariants as gL, containerWidths as gM, flexLayouts as gN, gridLayouts as gO, labelVariants as gP, navigationMenuTriggerStyle as gQ, normalizeCodeBlockLanguage as gR, progressIndicatorVariants as gS, progressVariants as gT, resolveCodeBlockLanguageIcon as gU, tabsContentVariants as gV, tabsListVariants as gW, tabsTriggerVariants as gX, toggleGroupItemVariants as gY, toggleGroupVariants as gZ, useCopyToClipboard as g_, type ToastTone as ga, Toaster as gb, Toggle as gc, type ToggleChangeHandler as gd, type ToggleDirection as ge, ToggleGroup as gf, ToggleGroupItem as gg, type ToggleGroupItemProps as gh, type ToggleGroupProps as gi, type ToggleLabelCasing as gj, type ToggleProps as gk, Tooltip as gl, TooltipContent as gm, TooltipProvider as gn, TooltipTrigger as go, TreeExpander as gp, type TreeExpanderProps as gq, TreeIcon as gr, type TreeIconProps as gs, TreeLabel as gt, type TreeLabelProps as gu, TreeLines as gv, TreeNode as gw, TreeNodeContent as gx, type TreeNodeContentProps as gy, type TreeNodeProps as gz, CommandItem as h, useToasts as h0, zIndex as h1, type CommandListProps as i, CommandList as j, type CommandResultsProps as k, CommandResults as l, type CommandSeparatorProps as m, CommandSeparator as n, type CommandShortcutProps as o, Command as p, Accordion as q, AccordionContent as r, AccordionItem as s, type AccordionSize as t, AccordionTrigger as u, Alert as v, type AlertAppearance as w, AlertContent as x, type AlertContentProps as y, AlertDescription as z };
4023
+ export { AnimatedThemeToggler as $, type AvatarProps as A, type BadgeProps as B, type CommandItemProps as C, type AlertDescriptionProps as D, AlertDialog as E, AlertDialogAction as F, AlertDialogCancel as G, AlertDialogContent as H, type InputSize as I, AlertDialogDescription as J, AlertDialogFooter as K, AlertDialogHeader as L, AlertDialogOverlay as M, AlertDialogPortal as N, AlertDialogTitle as O, AlertDialogTrigger as P, AlertIcon as Q, type AlertIconProps as R, type SpacingScale as S, type TextareaProps as T, type AlertProps as U, type AlertSize as V, AlertTitle as W, type AlertTitleProps as X, AlertToolbar as Y, type AlertToolbarProps as Z, type AlertVariant as _, Button as a, type CommandProps as a$, type AnimatedThemeTogglerProps as a0, AspectRatio as a1, type AspectRatioProps as a2, Avatar as a3, AvatarFallback as a4, type AvatarFallbackProps as a5, AvatarGroup as a6, type AvatarGroupItem as a7, type AvatarGroupProps as a8, AvatarImage as a9, CodeBlockLanguageIcon as aA, type CodeBlockLanguageIconComponent as aB, type CodeBlockLanguageIconElement as aC, type CodeBlockLanguageIconMap as aD, type CodeBlockLanguageIconProps as aE, type CodeBlockLanguageIconValue as aF, type CodeBlockProps as aG, type CodeBlockSingleProps as aH, type CodeBlockSwitcher as aI, type CodeBlockSwitcherOption as aJ, Collapse as aK, CollapseGroup as aL, type CollapseGroupProps as aM, type CollapseProps as aN, type CollapseSize as aO, Combobox as aP, ComboboxEmpty as aQ, ComboboxGroupSub as aR, ComboboxInput as aS, ComboboxList as aT, type ComboboxOption as aU, ComboboxOptionItem as aV, type ComboboxProps as aW, ComboboxRoot as aX, ComboboxSeparator as aY, CommandDialog as aZ, type CommandDialogProps as a_, type AvatarSize as aa, Badge as ab, Breadcrumb as ac, BreadcrumbEllipsis as ad, type BreadcrumbEllipsisProps as ae, BreadcrumbItem as af, type BreadcrumbItemProps as ag, BreadcrumbLink as ah, type BreadcrumbLinkProps as ai, BreadcrumbList as aj, type BreadcrumbListProps as ak, BreadcrumbPage as al, type BreadcrumbPageProps as am, type BreadcrumbProps as an, BreadcrumbSeparator as ao, type BreadcrumbSeparatorProps as ap, ButtonLink as aq, type ButtonLinkProps as ar, type ButtonProps as as, Checkbox as at, CheckboxGroup as au, type CheckboxGroupProps as av, type CheckboxProps as aw, CodeBlock as ax, type CodeBlockFile as ay, type CodeBlockFilesProps as az, type CommandEmptyProps as b, DrawerPortal as b$, CommandShortcut as b0, ContextMenu as b1, ContextMenuCheckboxItem as b2, type ContextMenuCheckboxItemProps as b3, ContextMenuContent as b4, type ContextMenuContentProps as b5, ContextMenuGroup as b6, ContextMenuItem as b7, type ContextMenuItemProps as b8, ContextMenuLabel as b9, Dialog as bA, DialogClose as bB, DialogContent as bC, DialogDescription as bD, DialogFooter as bE, DialogHeader as bF, DialogOverlay as bG, DialogPortal as bH, DialogTitle as bI, DialogTrigger as bJ, Drawer as bK, DrawerBody as bL, type DrawerBodyProps as bM, DrawerClose as bN, type DrawerCloseProps as bO, DrawerContent as bP, type DrawerContentProps as bQ, DrawerDescription as bR, type DrawerDescriptionProps as bS, type DrawerDirection as bT, DrawerFooter as bU, type DrawerFooterProps as bV, DrawerHeader as bW, type DrawerHeaderProps as bX, type DrawerHeight as bY, DrawerOverlay as bZ, type DrawerOverlayProps as b_, type ContextMenuLabelProps as ba, ContextMenuRadioGroup as bb, type ContextMenuRadioGroupProps as bc, ContextMenuRadioItem as bd, type ContextMenuRadioItemProps as be, ContextMenuRoot as bf, ContextMenuSeparator as bg, type ContextMenuSeparatorProps as bh, ContextMenuShortcut as bi, ContextMenuSub as bj, ContextMenuSubContent as bk, ContextMenuSubTrigger as bl, type ContextMenuSubTriggerProps as bm, ContextMenuTrigger as bn, CopyButton as bo, type CopyButtonProps as bp, CopyCodeButton as bq, CopyIdButton as br, CopyLinkButton as bs, CopyMenuItem as bt, type CopyMenuItemProps as bu, CopyableField as bv, type CopyableFieldProps as bw, type DeploymentState as bx, Description as by, type DescriptionProps as bz, CommandEmpty as c, type LegacyGaugeArcPriority as c$, type DrawerPortalProps as c0, type DrawerProps as c1, DrawerTitle as c2, type DrawerTitleProps as c3, DrawerTrigger as c4, type DrawerTriggerProps as c5, DropdownMenu as c6, DropdownMenuCheckboxItem as c7, DropdownMenuContent as c8, type DropdownMenuContentProps as c9, FormField as cA, FormItem as cB, FormLabel as cC, FormMessage as cD, Gauge as cE, type GaugeArcPriority as cF, type GaugeColorMap as cG, type GaugeColorStop as cH, type GaugeProps as cI, type GaugeSize as cJ, HoverCard as cK, HoverCardContent as cL, HoverCardTrigger as cM, Input as cN, InputOTP as cO, InputOTPGroup as cP, type InputOTPGroupProps as cQ, type InputOTPProps as cR, InputOTPSeparator as cS, type InputOTPSeparatorProps as cT, InputOTPSlot as cU, type InputOTPSlotProps as cV, type InputProps as cW, Kbd as cX, type KbdProps as cY, Label as cZ, type LabelProps as c_, DropdownMenuEmpty as ca, DropdownMenuFilterInput as cb, DropdownMenuGroup as cc, DropdownMenuItem as cd, DropdownMenuLabel as ce, DropdownMenuPortal as cf, DropdownMenuRadioGroup as cg, DropdownMenuRadioItem as ch, DropdownMenuSeparator as ci, DropdownMenuShortcut as cj, DropdownMenuSub as ck, DropdownMenuSubContent as cl, DropdownMenuSubTrigger as cm, DropdownMenuTrigger as cn, ErrorSurface as co, ErrorMessage as cp, type ErrorMessageProps as cq, type ErrorObject as cr, type ErrorProps as cs, type ErrorRecoveryAction as ct, type ErrorSize as cu, Field as cv, type FieldProps as cw, Form as cx, FormControl as cy, FormDescription as cz, type CommandGroupProps as d, type NoteTone as d$, LoadingDots as d0, type LoadingDotsProps as d1, Menu as d2, MenuButton as d3, type MenuButtonProps as d4, MenuContainer as d5, type MenuContainerProps as d6, MenuItem as d7, MenuItemLocked as d8, type MenuItemLockedProps as d9, type ModalActionsProps as dA, type ModalBodyProps as dB, type ModalHeaderProps as dC, type ModalInsetProps as dD, type ModalRootProps as dE, type ModalSubtitleProps as dF, type ModalTitleProps as dG, MultiSelectContent as dH, type MultiSelectContentProps as dI, MultiSelectRoot as dJ, type MultiSelectRootProps as dK, MultiSelectRow as dL, type MultiSelectRowProps as dM, MultiSelectTrigger as dN, type MultiSelectTriggerProps as dO, NavigationMenu as dP, NavigationMenuContent as dQ, NavigationMenuIndicator as dR, NavigationMenuItem as dS, NavigationMenuLink as dT, NavigationMenuList as dU, NavigationMenuTrigger as dV, NavigationMenuViewport as dW, Note as dX, type NoteBaseProps as dY, type NoteProps as dZ, type NoteSize as d_, type MenuItemProps as da, MenuLink as db, type MenuLinkProps as dc, type MenuPosition as dd, type MenuProps as de, MenuSection as df, type MenuSectionProps as dg, Menubar as dh, MenubarCheckboxItem as di, MenubarContent as dj, MenubarGroup as dk, MenubarItem as dl, MenubarLabel as dm, MenubarMenu as dn, MenubarPortal as dp, MenubarRadioGroup as dq, MenubarRadioItem as dr, MenubarSeparator as ds, MenubarShortcut as dt, MenubarSub as du, MenubarSubContent as dv, MenubarSubTrigger as dw, MenubarTrigger as dx, Modal as dy, type ModalActionProps as dz, CommandGroup as e, Skeleton as e$, Pagination as e0, type PaginationDestination as e1, type PaginationProps as e2, Popover as e3, PopoverAnchor as e4, PopoverContent as e5, type PopoverContentProps as e6, PopoverPositioner as e7, PopoverTrigger as e8, Progress as e9, SelectTrigger as eA, SelectValue as eB, Separator as eC, Sheet as eD, SheetBody as eE, type SheetBodyProps as eF, SheetClose as eG, type SheetCloseProps as eH, SheetContent as eI, type SheetContentProps as eJ, SheetDescription as eK, type SheetDescriptionProps as eL, SheetFooter as eM, type SheetFooterProps as eN, SheetHeader as eO, type SheetHeaderProps as eP, SheetOverlay as eQ, type SheetOverlayProps as eR, SheetPortal as eS, type SheetPortalProps as eT, type SheetProps as eU, SheetTitle as eV, type SheetTitleProps as eW, SheetTrigger as eX, type SheetTriggerProps as eY, ShowMore as eZ, type ShowMoreProps as e_, type ProgressColorMap as ea, type ProgressProps as eb, type ProgressStop as ec, ProjectBanner as ed, type ProjectBannerCallToAction as ee, type ProjectBannerProps as ef, type ProjectBannerVariant as eg, RadioGroup as eh, RadioGroupItem as ei, ResizableHandle as ej, ResizablePanel as ek, ResizablePanelGroup as el, Scroller as em, type ScrollerButtonAxis as en, type ScrollerEdgeAffordance as eo, type ScrollerOverflow as ep, type ScrollerProps as eq, type ScrollerSize as er, Select as es, SelectContent as et, SelectGroup as eu, SelectItem as ev, SelectLabel as ew, SelectScrollDownButton as ex, SelectScrollUpButton as ey, SelectSeparator as ez, type CommandInputProps as f, type ToggleDirection as f$, SkeletonAvatar as f0, SkeletonCard as f1, type SkeletonProps as f2, SkeletonText as f3, Slider as f4, type SliderProps as f5, Spinner as f6, type SpinnerProps as f7, type SpinnerVariant as f8, SplitButton as f9, TableHead as fA, type TableHeadProps as fB, TableHeader as fC, type TableProps as fD, TableRow as fE, type TableStyle as fF, Tabs as fG, TabsContent as fH, type TabsContentProps as fI, TabsList as fJ, type TabsListProps as fK, type TabsProps as fL, TabsTrigger as fM, type TabsTriggerProps as fN, Textarea as fO, ThemeSwitcher as fP, type ThemeSwitcherProps as fQ, type ThemeSwitcherValue as fR, ThemeToggle as fS, type ThemeToggleProps as fT, type ThemeToggleValue as fU, type ToastMessage as fV, type ToastOptions as fW, type ToastTone as fX, Toaster as fY, Toggle as fZ, type ToggleChangeHandler as f_, type SplitButtonMenuAlignment as fa, type SplitButtonMenuContentProps as fb, SplitButtonMenuItem as fc, type SplitButtonMenuItemProps as fd, type SplitButtonPrimaryProps as fe, type SplitButtonProps as ff, type SplitButtonSize as fg, type SplitButtonType as fh, Stack as fi, type StackProps as fj, StatusDot as fk, type StatusDotProps as fl, Switch as fm, type SwitchProps as fn, Table as fo, TableBody as fp, type TableBodyProps as fq, TableCaption as fr, TableCell as fs, type TableCellAlignment as ft, type TableCellProps as fu, TableCol as fv, TableColgroup as fw, type TableCssVar as fx, type TableCssVarOverrides as fy, TableFooter as fz, CommandInput as g, ToggleGroup as g0, ToggleGroupItem as g1, type ToggleGroupItemProps as g2, type ToggleGroupProps as g3, type ToggleLabelCasing as g4, type ToggleProps as g5, Tooltip as g6, TooltipContent as g7, TooltipProvider as g8, TooltipTrigger as g9, labelVariants as gA, navigationMenuTriggerStyle as gB, normalizeCodeBlockLanguage as gC, progressIndicatorVariants as gD, progressVariants as gE, resolveCodeBlockLanguageIcon as gF, tabsContentVariants as gG, tabsListVariants as gH, tabsTriggerVariants as gI, toggleGroupItemVariants as gJ, toggleGroupVariants as gK, useCopyToClipboard as gL, useFormField as gM, useToasts as gN, zIndex as gO, TreeExpander as ga, type TreeExpanderProps as gb, TreeIcon as gc, type TreeIconProps as gd, TreeLabel as ge, type TreeLabelProps as gf, TreeLines as gg, TreeNode as gh, TreeNodeContent as gi, type TreeNodeContentProps as gj, type TreeNodeProps as gk, TreeNodeTrigger as gl, type TreeNodeTriggerProps as gm, TreeProvider as gn, type TreeProviderProps as go, TreeView as gp, type TreeViewProps as gq, type UseCopyToClipboardOptions as gr, type UseCopyToClipboardReturn as gs, type UseToastsReturn as gt, alertVariants as gu, badgeVariants as gv, buttonVariants as gw, containerWidths as gx, flexLayouts as gy, gridLayouts as gz, CommandItem as h, type CommandListProps as i, CommandList as j, type CommandResultsProps as k, CommandResults as l, type CommandSeparatorProps as m, CommandSeparator as n, type CommandShortcutProps as o, Command as p, Accordion as q, AccordionContent as r, AccordionItem as s, type AccordionSize as t, AccordionTrigger as u, Alert as v, type AlertAppearance as w, AlertContent as x, type AlertContentProps as y, AlertDescription as z };
@@ -0,0 +1,105 @@
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
2
+ import * as class_variance_authority_types from 'class-variance-authority/types';
3
+ import { VariantProps } from 'class-variance-authority';
4
+ import * as React from 'react';
5
+
6
+ declare const cardVariants: (props?: ({
7
+ variant?: "default" | "outline" | "elevated" | "ghost" | null | undefined;
8
+ padding?: "none" | "sm" | "md" | "lg" | null | undefined;
9
+ interactive?: boolean | null | undefined;
10
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
11
+ type CardVariant = NonNullable<VariantProps<typeof cardVariants>["variant"]>;
12
+ type CardPadding = NonNullable<VariantProps<typeof cardVariants>["padding"]>;
13
+ type DivProps = React.HTMLAttributes<HTMLDivElement> & {
14
+ ref?: React.Ref<HTMLDivElement> | undefined;
15
+ };
16
+ interface CardProps extends DivProps {
17
+ variant?: CardVariant;
18
+ padding?: CardPadding;
19
+ /** Hover lift for a card that is itself a link or button target. */
20
+ interactive?: boolean;
21
+ }
22
+ declare const CardRoot: {
23
+ ({ className, variant, padding, interactive, ref, ...props }: CardProps): react_jsx_runtime.JSX.Element;
24
+ displayName: string;
25
+ };
26
+ declare const CardHeader: {
27
+ ({ className, ref, ...props }: DivProps): react_jsx_runtime.JSX.Element;
28
+ displayName: string;
29
+ };
30
+ interface CardTitleProps extends React.HTMLAttributes<HTMLHeadingElement> {
31
+ as?: "h2" | "h3" | "h4" | "h5" | "h6";
32
+ ref?: React.Ref<HTMLHeadingElement> | undefined;
33
+ }
34
+ declare const CardTitle: {
35
+ ({ className, as: Tag, ref, ...props }: CardTitleProps): react_jsx_runtime.JSX.Element;
36
+ displayName: string;
37
+ };
38
+ interface CardDescriptionProps extends React.HTMLAttributes<HTMLParagraphElement | HTMLDivElement> {
39
+ as?: React.ElementType;
40
+ ref?: React.Ref<HTMLParagraphElement | HTMLDivElement> | undefined;
41
+ }
42
+ declare const CardDescription: {
43
+ ({ className, as: Tag, ref, ...props }: CardDescriptionProps): React.ReactElement<any, string | React.JSXElementConstructor<any>>;
44
+ displayName: string;
45
+ };
46
+ declare const CardContent: {
47
+ ({ className, ref, ...props }: DivProps): react_jsx_runtime.JSX.Element;
48
+ displayName: string;
49
+ };
50
+ declare const CardFooter: {
51
+ ({ className, ref, ...props }: DivProps): react_jsx_runtime.JSX.Element;
52
+ displayName: string;
53
+ };
54
+ interface CardIconProps extends DivProps {
55
+ size?: "sm" | "md" | "lg";
56
+ }
57
+ declare const CardIcon: {
58
+ ({ className, size, ref, ...props }: CardIconProps): react_jsx_runtime.JSX.Element;
59
+ displayName: string;
60
+ };
61
+ type CardHeaderProps = DivProps;
62
+ type CardContentProps = DivProps;
63
+ type CardBodyProps = DivProps;
64
+ type CardFooterProps = DivProps;
65
+ /** Compound form: Card.Header, Card.Title, Card.Body (= CardContent), … */
66
+ declare const Card: {
67
+ ({ className, variant, padding, interactive, ref, ...props }: CardProps): react_jsx_runtime.JSX.Element;
68
+ displayName: string;
69
+ } & {
70
+ Header: {
71
+ ({ className, ref, ...props }: DivProps): react_jsx_runtime.JSX.Element;
72
+ displayName: string;
73
+ };
74
+ Title: {
75
+ ({ className, as: Tag, ref, ...props }: CardTitleProps): react_jsx_runtime.JSX.Element;
76
+ displayName: string;
77
+ };
78
+ Description: {
79
+ ({ className, as: Tag, ref, ...props }: CardDescriptionProps): React.ReactElement<any, string | React.JSXElementConstructor<any>>;
80
+ displayName: string;
81
+ };
82
+ Content: {
83
+ ({ className, ref, ...props }: DivProps): react_jsx_runtime.JSX.Element;
84
+ displayName: string;
85
+ };
86
+ Body: {
87
+ ({ className, ref, ...props }: DivProps): react_jsx_runtime.JSX.Element;
88
+ displayName: string;
89
+ };
90
+ Footer: {
91
+ ({ className, ref, ...props }: DivProps): react_jsx_runtime.JSX.Element;
92
+ displayName: string;
93
+ };
94
+ Icon: {
95
+ ({ className, size, ref, ...props }: CardIconProps): react_jsx_runtime.JSX.Element;
96
+ displayName: string;
97
+ };
98
+ };
99
+ /** @deprecated Alias of CardContent from the former patterns/Card. */
100
+ declare const CardBody: {
101
+ ({ className, ref, ...props }: DivProps): react_jsx_runtime.JSX.Element;
102
+ displayName: string;
103
+ };
104
+
105
+ export { Card as C, type CardProps as a, CardBody as b, type CardBodyProps as c, CardDescription as d, type CardDescriptionProps as e, CardFooter as f, type CardFooterProps as g, CardHeader as h, type CardHeaderProps as i, CardIcon as j, type CardIconProps as k, CardRoot as l, CardTitle as m, type CardTitleProps as n, CardContent as o, type CardContentProps as p, cardVariants as q };